SlideShare a Scribd company logo
1 of 2
Download to read offline
แบบทดสอบ(งานย่ อยที่6)

1.ในการประกาศตัวแปนสตริ งนั้น จะต้องคานึงถึงสิ่งใด

ก.ความยาวของข้อมูล

ข.ลักษณะของข้อมูล

ค.จานวนตัวอักษร

ง.ประเภทของข้อมูล

2.ข้อใดไม่ใช่กลุ่มคาสังในการทาซ้ า
                      ่

ก.การใช้ else..if

ข. การใช้ for

ค.การใช้ do...while

ง.การใช้ while

3.ออบเจ็กต์ที่สร้ างขึ้นจากคลาสมีชื่อเรี ยกว่าอะไร

ก.ตัวแปรคลาส

ข.คลาสลูก

ค.อินสแตนซ์

ง.ค่าคงที่ของคลาส
4.ในคลาส Scanner จะใช้เมธอดใดในการรับข้อมูลที่เป็ น Byte

ก. nextByte()

ข. nextFloat()

ค. nextLine()

ง. nextShort()

5.คาสังใดใช้เรี ยกแพ็กเกจที่รวบรวมคลาสขึ้นมาใช้
      ่

ก. import

ข. include

ค. read

ง. add

                                                     นายชนิสร บุญแก้ว เลขที่ 4 ชั้นม.6/1

More Related Content

Viewers also liked

державні закупівлі під контролем громадськості
державні закупівлі під контролем громадськостідержавні закупівлі під контролем громадськості
державні закупівлі під контролем громадськостіNova Gromada
 
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...NIHR CLAHRC West Midlands
 
Prof Tom Marshall - Introduction to the opportunties and support available to...
Prof Tom Marshall - Introduction to the opportunties and support available to...Prof Tom Marshall - Introduction to the opportunties and support available to...
Prof Tom Marshall - Introduction to the opportunties and support available to...NIHR CLAHRC West Midlands
 
Private hospitals in RSBY
Private hospitals in RSBYPrivate hospitals in RSBY
Private hospitals in RSBYDevin Prabhakar
 
sonya ware electronic technician 1
sonya ware electronic technician 1sonya ware electronic technician 1
sonya ware electronic technician 1Sonya Ware
 
ENJ-300: Etapa Recursiva y Ejecución de las Sanciones
ENJ-300: Etapa Recursiva y Ejecución de las SancionesENJ-300: Etapa Recursiva y Ejecución de las Sanciones
ENJ-300: Etapa Recursiva y Ejecución de las SancionesENJ
 
"Filling the digital preservation gap" with Archivematica
"Filling the digital preservation gap" with Archivematica"Filling the digital preservation gap" with Archivematica
"Filling the digital preservation gap" with ArchivematicaJenny Mitcham
 
งานย่อย6
งานย่อย6งานย่อย6
งานย่อย6thelaw191
 

Viewers also liked (12)

державні закупівлі під контролем громадськості
державні закупівлі під контролем громадськостідержавні закупівлі під контролем громадськості
державні закупівлі під контролем громадськості
 
Dream
DreamDream
Dream
 
Web def completo
Web def completoWeb def completo
Web def completo
 
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...
Magdalena Skrybant and Nathalie Maillard - Patient and Public Involvement and...
 
Prof Tom Marshall - Introduction to the opportunties and support available to...
Prof Tom Marshall - Introduction to the opportunties and support available to...Prof Tom Marshall - Introduction to the opportunties and support available to...
Prof Tom Marshall - Introduction to the opportunties and support available to...
 
Private hospitals in RSBY
Private hospitals in RSBYPrivate hospitals in RSBY
Private hospitals in RSBY
 
sonya ware electronic technician 1
sonya ware electronic technician 1sonya ware electronic technician 1
sonya ware electronic technician 1
 
ENJ-300: Etapa Recursiva y Ejecución de las Sanciones
ENJ-300: Etapa Recursiva y Ejecución de las SancionesENJ-300: Etapa Recursiva y Ejecución de las Sanciones
ENJ-300: Etapa Recursiva y Ejecución de las Sanciones
 
"Filling the digital preservation gap" with Archivematica
"Filling the digital preservation gap" with Archivematica"Filling the digital preservation gap" with Archivematica
"Filling the digital preservation gap" with Archivematica
 
Cuaderno 1
Cuaderno 1Cuaderno 1
Cuaderno 1
 
งานย่อย6
งานย่อย6งานย่อย6
งานย่อย6
 
Romería vikinga de catoira
Romería vikinga de catoiraRomería vikinga de catoira
Romería vikinga de catoira
 

More from thelaw191

งานย่อยที่ #6
งานย่อยที่ #6งานย่อยที่ #6
งานย่อยที่ #6thelaw191
 
งานย่อย6
งานย่อย6งานย่อย6
งานย่อย6thelaw191
 
ข่าวIt
ข่าวItข่าวIt
ข่าวItthelaw191
 
ข่าว It
ข่าว Itข่าว It
ข่าว Itthelaw191
 
ข่าว It
ข่าว   Itข่าว   It
ข่าว Itthelaw191
 
ข่าว It
ข่าว Itข่าว It
ข่าว Itthelaw191
 
ข่าวIt
ข่าวItข่าวIt
ข่าวItthelaw191
 
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3thelaw191
 
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3thelaw191
 

More from thelaw191 (9)

งานย่อยที่ #6
งานย่อยที่ #6งานย่อยที่ #6
งานย่อยที่ #6
 
งานย่อย6
งานย่อย6งานย่อย6
งานย่อย6
 
ข่าวIt
ข่าวItข่าวIt
ข่าวIt
 
ข่าว It
ข่าว Itข่าว It
ข่าว It
 
ข่าว It
ข่าว   Itข่าว   It
ข่าว It
 
ข่าว It
ข่าว Itข่าว It
ข่าว It
 
ข่าวIt
ข่าวItข่าวIt
ข่าวIt
 
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่มที่3
 
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3
สรุปการประเมินนำเสนอหน้าชั้นเรียนกลุ่ม3
 

งานย่อย#6

  • 1. แบบทดสอบ(งานย่ อยที่6) 1.ในการประกาศตัวแปนสตริ งนั้น จะต้องคานึงถึงสิ่งใด ก.ความยาวของข้อมูล ข.ลักษณะของข้อมูล ค.จานวนตัวอักษร ง.ประเภทของข้อมูล 2.ข้อใดไม่ใช่กลุ่มคาสังในการทาซ้ า ่ ก.การใช้ else..if ข. การใช้ for ค.การใช้ do...while ง.การใช้ while 3.ออบเจ็กต์ที่สร้ างขึ้นจากคลาสมีชื่อเรี ยกว่าอะไร ก.ตัวแปรคลาส ข.คลาสลูก ค.อินสแตนซ์ ง.ค่าคงที่ของคลาส
  • 2. 4.ในคลาส Scanner จะใช้เมธอดใดในการรับข้อมูลที่เป็ น Byte ก. nextByte() ข. nextFloat() ค. nextLine() ง. nextShort() 5.คาสังใดใช้เรี ยกแพ็กเกจที่รวบรวมคลาสขึ้นมาใช้ ่ ก. import ข. include ค. read ง. add นายชนิสร บุญแก้ว เลขที่ 4 ชั้นม.6/1